package com.cdtye.itps.cms.mapper.line;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.cdtye.itps.cms.dao.line.entity.JcSecline;
import com.cdtye.itps.cms.dao.line.vo.JcSeclineVo;
import io.swagger.annotations.Api;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Api("线路 mapper")
@Repository
public interface JcSeclineMapper extends BaseMapper<JcSecline> {
    Map<String, Object> getSeclineById(@Param("seclineId")String seclineId);

    List<JcSecline> getSeclineList(@Param("vo") JcSeclineVo vo);

    IPage<Map<String,Object>> pageList(IPage iPage,@Param("vo") JcSeclineVo vo);
    IPage<Map<String,Object>> pageList4Brain(IPage iPage,@Param("vo") JcSeclineVo vo);

    List<Map<String, Object>> getSeclineListByAuth(@Param("vo") JcSeclineVo vo);

    List<Map<String, Object>> getSeclineTreeByAuthSite(@Param("vo") JcSeclineVo vo);
}
